//
//  ViewController.m
//  
//
//  Created by Fred Havemeyer on 12/30/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import "ViewController.h"
#import "iSaberView.h"

@implementation ViewController
- (id)initWithFrame:(struct CGRect)rect
{
	if ((self = [super initWithFrame:rect]) != nil)
	{
		viewBounds = rect;
		

		transView = [[UITransitionView alloc] initWithFrame:viewBounds];
		
		_mainView = [[iSaberView alloc] initWithFrame:viewBounds];
		
		[self addSubview:transView];
		[transView transition:1 toView:_mainView];
	}
	return self;
}
- (void)dealloc
{
	[_mainView release];
	[transView release];
	[super dealloc];
}
@end
